package com.xinzhidi.web.ctw.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

/***
 * 室温-（实时数据）
 * @author cx
 * @date 2023/7/31 18:49
 */

@ApiModel(value = "室温-（实时数据）")
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("agreement_household_temperature")
public class HouseholdTemperature {

    @ApiModelProperty(value = "主键id")
    private Long id;

    @ApiModelProperty(value = "小区id")
    private Long plotId;

    @ApiModelProperty(value = "楼栋id")
    private Long buildId;

    @ApiModelProperty(value = "单元id")
    private Long unitId;

    @ApiModelProperty(value = "住户id")
    private Long householdId;

    @ApiModelProperty(value = "设备id")
    private String deviceId;

    @ApiModelProperty(value = "真实室温")
    private BigDecimal temperature;

    @ApiModelProperty(value = "修正室温")
    private BigDecimal modifiedTemperature;

    @ApiModelProperty(value = "用户设定温度")
    private BigDecimal setTemperature;

    @ApiModelProperty(value = "信号强度")
    private Integer signalStrength;

    @ApiModelProperty(value = "数据上报时间")
    private Date reportTime;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

}
